Re: [SQL] Slow Inserts Again - Mailing list pgsql-sql

From Herouth Maoz
Subject Re: [SQL] Slow Inserts Again
Date
Msg-id l03130306b35361d4928b@[147.233.159.109]
Whole thread Raw
In response to Re: [SQL] Slow Inserts Again  ("Frank Morton" <fmorton@base2inc.com>)
List pgsql-sql
At 17:10 +0300 on 03/05/1999, Frank Morton wrote:


> Is there a doc somewhere about what characters are treated
> in some special way when doing a copy?

Yes, the documentation of the COPY command. The essence is that if you use
the default delimiter (tab), you need to put a backslash before each tab,
newline and backslash in each of the text fields. Oh, and null fields
should be converted to \N.

It's all in the docs. Why don't you try to copy some of the rows into a
temporary table, and dump that table using pg_dump -a -t table_name dbname?
It may give you a clue.

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma




pgsql-sql by date:

Previous
From: Chris Bitmead
Date:
Subject: Re: [SQL] Slow Inserts Again
Next
From: Herouth Maoz
Date:
Subject: Re: [SQL] Index on date_trunc